<template>
  <div class="popShowPrize" style="display: none">
    <span class="dialog_2-closetc closetc iconfont" @click="close"></span>
    <div class="dialog_2-showPrize-sunshine">
      <img src="../../static/images/circle.png">
    </div>
    <div class="dialog_2-showPrize-circle">
      <img src="../../static/images/sunshine.png">
    </div>
    <div class="dialog_2-showPrize-dialog">
      <div class="dialog_2-modal-header">
        <img src="../../static/images/winhead.png" alt="">
        <span class="star"></span>
        <span class="star"></span>
        <span class="star"></span>
        <span class="star"></span>
      </div>
      <div class="dialog_2-modal-body modal-body">
        <h3 class="dialog_2-prizecontent">{{title}}</h3>
        <div class="dialog_2-coupon-wrapper">
          <div class="dialog_2-coupon-image">
            <img :src="img_src">
            <div class="sawtooth-up flex flex-hr">
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
            </div>
            <div class="sawtooth-down flex flex-hr">
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
              <span></span>
            </div>
          </div>
          <div class="dialog_2-coupon-detail">{{content}}</div>
          <div class="dialog_2-coupon-date"></div>
        </div>
        <div class="goto dialog_2-goto">{{button}}</div>
      </div>
      <span class="ribbon"></span>
      <span class="ribbon"></span>
      <span class="ribbon"></span>
      <span class="ribbon"></span>
      <span class="ribbon"></span>
      <span class="ribbon"></span>
      <span class="ribbon"></span>
      <span class="ribbon"></span>
      <span class="ribbon"></span>
      <span class="ribbon"></span>
      <span class="ribbon"></span>
    </div>
  </div>
</template>

<script>
    var img_src=require('../../static/images/didi.png')
    export default {
        name:'Havefrequency',
        data () {
            return {
              title:'100元滴滴红包',
              img_src:img_src,
              content:'恭喜获得100元滴滴打车红包+百万意外出行险！填写身份信息即可领取！',
              button:'免费领取'
            }
        },
        methods:{
          close:function(){
            $(".popShowPrize").hide()
            this.$emit('close',2)
          }
        }
    }
</script>

<style>
  @import '../../static/css/dialog.css';

</style>
